import React, { Component } from 'react';

export default class AssetItem extends Component {
  constructor(props) {
    super(props);
    this.state = {
      entity: props.entity
    };
  }

  render() {
    return (
      <div className="asset">
        <h4>{ this.state.entity.name }</h4>
        <p>介绍：{ this.state.entity.description }</p>
      </div>
    )
  }
}
